﻿
@page
@model AdminUI.Pages.Demo.FormDemo1Model
@{
    ViewBag.Title = "供应商";
    var F = Html.F();
}

@section body {

    <f:SimpleForm ID="SimpleForm1" IsFluid="true" CssClass="blockpanel" BodyPadding="10" LabelWidth="200" EnableCollapse="false" ShowBorder="true" ShowHeader="true" Title="供应商">
        <Items>
            <f:NumberBox ID="SupplierID" EmptyText="请输入供应商ID" Label="供应商ID" Text="0" Required="true" Increment="1"></f:NumberBox>
            <f:TextBox ID="SupplierName" Required="true" Label="供应商名称" EmptyText="请输入供应商名称"></f:TextBox>
            <f:NumberBox ID="BID" EmptyText="请输入品牌商ID" Label="品牌商ID" Text="0" Required="true" Increment="1"></f:NumberBox>
            <f:TextBox ID="CompanyName" Required="true" Label="企业名称" EmptyText="请输入企业名称"></f:TextBox>
            <f:TextBox ID="CompanyCode" Required="true" Label="企业代码" EmptyText="请输入企业代码"></f:TextBox>
            <f:TextBox ID="LegalName" Required="true" Label="法人姓名" EmptyText="请输入法人姓名"></f:TextBox>
            <f:TextBox ID="LegalIDCard" Required="true" Label="法人身份证" EmptyText="请输入法人身份证"></f:TextBox>
            <f:TextBox ID="Linkman" Required="true" Label="联系人" EmptyText="请输入联系人"></f:TextBox>
            <f:TextBox ID="Phone" Required="true" Label="联系电话" EmptyText="请输入联系电话"></f:TextBox>
            <f:TextBox ID="LicenseUrl" Required="true" Label="营业执照图片" EmptyText="请输入营业执照图片"></f:TextBox>
            <f:NumberBox ID="DeleteMark" EmptyText="请输入删除标记" Label="删除标记" Text="0" Required="true" Increment="1"></f:NumberBox>

            <f:TextArea ID="Memo" EmptyText="请输入内容" Label="备注" AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600"></f:TextArea>

            <f:Button ID="btnSubmit" _ValidateForms="SimpleForm1" CssClass="marginr" Text="提交表单" OnClick="@Url.Handler("btnSubmit_Click")" OnClickFields="SimpleForm1"></f:Button>
            <f:Button ID="btnReset" Text="重置表单" OnClientClick="F.ui.SimpleForm1.reset();"></f:Button>
        </Items>
    </f:SimpleForm>
}

